package com.shop.item.atom.atomsvc;

import com.shop.common.model.InputBean;
import com.shop.common.model.ServiceBean;
import com.shop.common.model.param.item.ItemCollectionInput;
import com.shop.common.model.result.item.ItemCollectionOutput;

import java.util.List;

/**
 * @Author zhoulk
 * @Description //TODO 商品收藏原子服务
 * @Date 20:40 2019/3/11
 *
 * @Param
 * @return
 * @errorCode //TODO
 **/
public interface IItemCollectionAtomService {

    ServiceBean<Integer> insertItemCollection(ItemCollectionInput collectionInput);

    ServiceBean<String> deleteItemCollection(ItemCollectionInput collectionInput);

    ServiceBean<ItemCollectionOutput> selectItemCollection(ItemCollectionInput collectionInput);

    ServiceBean<List<ItemCollectionOutput>> selectItemCollectionList(ItemCollectionInput collectionInput);

    ServiceBean<List<ItemCollectionOutput>> selectItemCollectionList4P(InputBean<ItemCollectionInput> inputBean);

    ServiceBean<String> updateItemCollection(ItemCollectionInput collectionInput);
}
